package kr.hyunist.androidcomplete01saeildamil.ch09;

import kr.hyunist.androidcomplete01saeildamil.*;
import android.app.*;
import android.content.*;
import android.os.*;
import android.view.*;

public class Ch09Activity extends Activity {
	Intent intent = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch09activity);
	}

	public void mOnClick(View v) {
		switch (v.getId()) {
		case R.id.ch09subtitle1:
			intent = new Intent(this, OptionMenuTest.class);
			break;
			
		case R.id.ch09subtitle2:
			intent = new Intent(this, OptionMenuTest2.class);
			break;
			
		case R.id.ch09subtitle3:
			intent = new Intent(this, ContextMenuTest1.class);
			break;
			
		case R.id.ch09subtitle4:
			intent = new Intent(this, PopupMenuTest.class);
			break;
			
		case R.id.ch09subtitle5:
			intent = new Intent(this, MenuCheckTest.class);
			break;
			
		case R.id.ch09subtitle6:
			intent = new Intent(this, MenuChangeTest.class);
			break;
			
		case R.id.ch09subtitle7:
			intent = new Intent(this, ImgChangeEx.class);
			break;
		}
		startActivity(intent);
	}
}
